Skip to content

content(styles): replace lorem ipsum with fact-checked CAMRA style descriptions - #238

Merged
richardthe3rd merged 3 commits into
mainfrom
worktree-update-beer-style-descriptions
May 9, 2026
Merged

content(styles): replace lorem ipsum with fact-checked CAMRA style descriptions#238
richardthe3rd merged 3 commits into
mainfrom
worktree-update-beer-style-descriptions

Conversation

@richardthe3rd

Copy link
Copy Markdown
Owner

Summary

  • Replaces all 29 lorem ipsum placeholders in assets/style_descriptions.json with accurate descriptions validated against CAMRA and BJCP guidelines
  • Adds a missing speciality entry
  • Eight factual corrections applied during review (Brown Ale colour order, Scotch Ale peat smoke myth, Hefeweizen/Weissbier regional name clarification, Bock ABV floor, Porter/Stout historical relationship, Mild disputed age claim, Saison historical ABV context, IPA origin framing)

Test Plan

  • All tests passing (./bin/mise run test)
  • Golden screenshots updated to reflect real description text
  • Test assertions updated from lorem ipsum strings to real content
  • Three tests widened to 400×1200 viewport (longer descriptions pushed drink cards below default viewport)

…scriptions

Replaces all 29 lorem ipsum beer style placeholders in
assets/style_descriptions.json with accurate descriptions validated
against CAMRA and BJCP guidelines.

Key corrections applied during fact-checking:
- Brown ale: Northern Brown (Newcastle) is paler than Southern Brown, not darker
- Scotch ale: clarified smoke comes from roasted malt, not peat
- Hefeweizen/Weissbier: noted these are regional names for the same style
- Bock: corrected ABV floor to ~6.3%, added pale Maibock variant
- Porter: qualified the 'lighter than Stout' framing as a modern distinction
- Mild: removed disputed 'oldest style' claim
- Saison: added context that historical versions were very low ABV

Updates golden screenshots and test assertions to match real content.
Adds 'speciality' entry not previously in the JSON.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 9, 2026 19:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Replaces placeholder (lorem ipsum) style descriptions with real, fact-checked CAMRA/BJCP-aligned content, and updates tests/docs to reflect the longer, real-world copy.

Changes:

  • Updated assets/style_descriptions.json with accurate descriptions for existing styles and added a missing speciality entry.
  • Adjusted widget tests to accommodate longer description text (larger surface size in a few cases) and updated assertions away from lorem ipsum.
  • Added documentation guidance in CLAUDE.md on capturing test output once and grepping it efficiently.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

File Description
test/style_screen_test.dart Enlarges test viewport for cases where longer descriptions push drink cards below the initial viewport; updates assertions to match real IPA description text.
test/style_description_helper_test.dart Updates assertions to validate real description content instead of lorem ipsum placeholders.
CLAUDE.md Adds a workflow note for running tests once and grepping captured output rather than repeatedly re-running tests.
assets/style_descriptions.json Replaces placeholder text with fact-checked style descriptions and adds the speciality description entry.

@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

LCOV of commit 1438698 during CI #101

Summary coverage rate:
  lines......: 78.3% (2322 of 2967 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@codecov

codecov Bot commented May 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

richardthe3rd and others added 2 commits May 9, 2026 20:56
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…descriptions

The ui-refresh-2026 merge introduced new card accent bars. Goldens now
reflect both the updated theme and the real CAMRA style descriptions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

🚀 Cloudflare Pages Preview

Your preview deployment is ready!

Preview URL: https://worktree-update-beer-style-d.staging-cambeerfestival.pages.dev

This preview will be automatically updated when you push new commits to this PR.

@richardthe3rd
richardthe3rd merged commit 2bb41d8 into main May 9, 2026
10 checks passed
@richardthe3rd
richardthe3rd deleted the worktree-update-beer-style-descriptions branch May 9, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants